# -*- coding: UTF-8 -*-
# @Author : RSW
# @Time : 2021/10/26
# @Remark: python-review-v1
from mxsoftpy import Module

smart_tool_module = Module('smart_tool_module', url_prefix='/tool')

from .TagManage.tag_group import *

# 标签组
smart_tool_module.add_resource(TagGroupList, '/tag/group_list.sy')  # 查询标签组
smart_tool_module.add_resource(TagGroupAdd, '/tag/group_add.sy')  # 添加标签组
smart_tool_module.add_resource(TagGroupUpdate, '/tag/group_update.sy')  # 修改标签组
smart_tool_module.add_resource(TagGroupDelete, '/tag/group_delete.sy')  # 删除标签组
smart_tool_module.add_resource(TagGroupRetrieve, '/tag/group_retrieve.sy')  # 标签组回显

smart_tool_module.add_resource(LabelGroupMove, '/tag/group_move.sy')  # 移动标签组

# 标签
smart_tool_module.add_resource(TagList, '/tag/tag_list.sy')  # 查询标签
# smart_tool_module.add_resource(KeyJudge, '/tag/key_judge.sy')  # 判读Key是否存在
smart_tool_module.add_resource(TagExistence, '/tag/tag_existence.sy')  # 动态判断是否存在
smart_tool_module.add_resource(TagAdd, '/tag/tag_add.sy')  # 添加标签(包含批量)
smart_tool_module.add_resource(TagDelete, '/tag/tag_delete.sy')  # 删除标签
smart_tool_module.add_resource(TagMove, '/tag/tag_move.sy')  # 移动标签
smart_tool_module.add_resource(TagRetrieve, '/tag/tag_retrieve.sy')  # 标签回显

smart_tool_module.add_resource(TagAll, '/tag/tag_all.sy')  # 标签返回全部

smart_tool_module.add_resource(TagRetrieve, '/tag/tag_retrieve.sy')  # 标签回显
smart_tool_module.add_resource(TagAll, '/tag/tag_all.sy')  # 标签返回全部

from .UnitManage.unit_type import *
from .UnitManage.unit import *

# 单位类型管理
smart_tool_module.add_resource(UnitTypeADD, '/unit/unit_type_add.sy')
smart_tool_module.add_resource(UnitTypeDelete, '/unit/unit_type_delete.sy')
smart_tool_module.add_resource(UnitTypeUpdate, '/unit/unit_type_update.sy')
smart_tool_module.add_resource(UnitTypeRetrieve, '/unit/unit_type_retrieve.sy')
smart_tool_module.add_resource(UnitTypeList, '/unit/unit_type_list.sy')
smart_tool_module.add_resource(UnitAll, '/unit/all.sy')
smart_tool_module.add_resource(UnitAdd, '/unit/unit_add.sy')
smart_tool_module.add_resource(UnitDelete, '/unit/unit_delete.sy')
smart_tool_module.add_resource(UnitUpdate, '/unit/unit_update.sy')
smart_tool_module.add_resource(UnitRetrieve, '/unit/unit_retrieve.sy')
smart_tool_module.add_resource(UnitList, '/unit/unit_list.sy')

smart_tool_module.add_resource(ConversionTips, '/unit/conversion_tips.sy')
